import { Meta, ArgsTable } from '@storybook/addon-docs'
import { DropdownMenu, DropdownMenuItem } from '@v-uik/dropdown-menu'
import { createTitle, COMPONENTS } from '@v-uik/showroom/config'

<Meta
  title={createTitle([COMPONENTS.navigation, 'DropdownMenu', 'API'])}
  component={DropdownMenu}
  parameters={{
    viewMode: 'docs',
    previewTabs: {
      canvas: { hidden: true },
    },
  }}
/>

# DropdownMenu API

<ArgsTable of={DropdownMenu} />

# DropdownMenuItem API

<ArgsTable of={DropdownMenuItem} />
